import 'package:flutter_taotaoshipin/pages/drama_detail/drama_detail_binding.dart';
import 'package:flutter_taotaoshipin/pages/drama_detail/darma_detail_page.dart';
import 'package:flutter_taotaoshipin/pages/drama/drama_search_page.dart';
import 'package:get/get.dart';

class DramaRoutes {
  static const String search = '/drama/search';
  static const String detail = '/drama/detail';

  static List<GetPage> routes = [
    GetPage(name: search, page: () => const DramaSearchPage()),
    GetPage(
      name: detail,
      page: () => const DramaDetailPage(tag: 'detail'),
      binding: DramaDetailBinding(tag: 'detail'),
    ),
  ];
}
